<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>奇妙园年龄选择</title>
    <link rel="stylesheet" href="../css/currency.css">
    <style>
        .button1{
            width: 407px;
            height: 407px;
            position: absolute;
            top: 607px;
            left: 149px;
            border-radius: 50%;
            border: none;
            outline: none;
            background: transparent;
        }
        .button2{
            width: 407px;
            height: 407px;
            position: absolute;
            top: 697px;
            left: 601px;
            border-radius: 50%;
            border: none;
            outline: none;
            background: transparent;
        }
    </style>
</head>
<body>
<div class="commit_head">
    <img src="../img/icon.gif" alt="" class="commit_icon"/>
    <span class="commit_build">熊孩子点吧</span>
    <img src="../img/close.png" alt="" class="commit_close"/>
</div>
<img class="content" src="../img/age.jpg" alt="">
<button class="button1"></button>
<button class="button2"></button>
<script src="../js/jquery-2.2.4.min.js"></script>
<script src="../js/getrequest.js"></script>
<script>
    var a=GetRequest();
    var id=a['id'];
    if(id == "draw"){
        $(".commit_build").html("画一画");
        $(".button1").click(function () {
            window.location.href = "../game/"+id+"/"+id+3+".html?id="+id+3;
        })
        $(".button2").click(function () {
            window.location.href = "../game/"+id+"/"+id+6+".html?id="+id+6;
        })
    }else if(id == "line"){
        $(".commit_build").html("连一连");
        $(".button1").click(function () {
          window.location.href = "../game/"+id+"/"+id+31+".html?id="+id+3;
        })
        $(".button2").click(function () {
            window.location.href = "../game/"+id+"/"+id+61+".html?id="+id+6;
        })
    }else if(id == "word"){
        $(".commit_build").html("找一找");
        $(".button1").click(function () {
            window.location.href = "../game/"+id+"/"+id+31+".html?id="+id+3;
        })
        $(".button2").click(function () {
            window.location.href = "../game/"+id+"/"+id+61+".html?id="+id+6;
        })
    }
    //点击关闭
    $(".commit_close").click(function(){
        //调用安卓方法
        JsBinder.onFinishActivity();
    })
   /* JsBinder.setActivityClose(false); //隐藏浏览器右上角关闭图表*/
</script>
</body>
</html>